@charset 'utf-8';

/*共通部分--------------------------------------
------------------------------------------------
------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

main {
  line-height: 1.5;
}

body {
  font-family: '游明朝';
  background-color: #E7E2D9;
}


li {
  list-style: none;
}

h1 {
  margin: 0;

}

h2 {
  margin: 0;
  padding-bottom: 42px;
  font-family: Garamond;
  font-size: 1.86rem;
  font-weight: normal;
}

h3 {
  margin: 0;
  padding-top: 13px;
  padding-bottom: 4px;
  text-align: center;
  font-size: 1rem;
}



/*スマホナビゲーション*/
/*========= ナビゲーションのためのCSS ===============*/
.nav_arrow {
  display: none;
}

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: #E7E2D9;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Garamond';
  font-weight: normal;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 8px;
  right: 24px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  background-color: #333;
  width: 32px;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


/*main---------------------------------------------
---------------------------------------------------
---------------------------------------------------*/

/*header-------------------------------------------
---------------------------------------------------
---------------------------------------------------*/
.header {
  position: absolute;
  width: 100%;
  z-index: 10;
  opacity: 1;
  height: 64px;
}

.header_inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: fixed;
  width: 100%;
}

.header_title {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 64px;
}

.header_title img {
  position: absolute;
  top: 16px;
  width: 54%;
  padding-left: 16px;
}

.header_inner_catch img {
  position: absolute;
  width: 79%;
  left: 24px;
  bottom: 240px;
}

.openbtn1 {
  display: flex;
}

/*first_view---------------------------------------
---------------------------------------------------
---------------------------------------------------*/

.first_view {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.first_view picture img {
  min-height: 640px;
}

/*zoomIn---------------------------------------
---------------------------------------------------
---------------------------------------------------*/

.zoomIn {
  animation: zoomIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(3);
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*scroll-------------------------------------------
---------------------------------------------------
---------------------------------------------------*/

#container {
  position: relative;
  z-index: 1;
  background-color: #EDE9E9;
  text-align: center;
}


/*about--------------------------------------------
---------------------------------------------------
---------------------------------------------------*/
.section_about {
  margin-top: 40px;
  padding-top: 33px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 37px;
  background-color: #EDE9E9
}

.section_about h2 span {
  display: flex;
  font-family: '游明朝';
  font-size: 12px;
  border-top: 1px solid #333;
  width: 20%;
  padding-top: 8px;
}

.section_about_txt {
  display: flex;
  justify-content: center;
}

.section_about p {
  max-width: 256px;
  margin: 0 auto;
  line-height: 2;
}

/*more/さらに/エリアここから-----------------------
---------------------------------------------------
---------------------------------------------------*/
.button {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.flipleft {
  /*animationの為の追加css*/
  opacity: 0;
  animation: slideIn 3s infinite;
}

/*animationの為の追加css*/
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flipleft a {
  font-family: 'Garamond';
  font-size: 1.2rem;
}

.flipleft span {
  display: flex;
  border-top: 1px solid #333;
  width: 80px;
  font-size: 0.6rem;
  padding-top: 8px;
  font-family: '游明朝';
}

/*works--------------------------------------------
---------------------------------------------------
---------------------------------------------------*/
.section_works {
  margin-top: 40px;
  padding: 40px 24px 40px;
  background-color: #F5F5F5;
}


.section_works h2 span {
  display: flex;
  font-family: '游明朝';
  font-size: 12px;
  border-top: 1px solid #333;
  width: 20%;
  padding-top: 8px;
}

.section_works ul {
  padding-left: 0;
  margin-top: 0;
}

.works_list_link {
  display: flex;
  flex-direction: column-reverse;
}


.works_list_link img {
  width: 73%;
  transition-property: opacity;
  transition-duration: 0.5s;
}

.works_list_link img:hover {
  opacity: 0.6;
}

.works_list_img {
  display: flex;
  justify-content: center;
  /*jQueryの追加css*/
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
}

/*jQueryの追加css*/
.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.works_list_link span {
  font-size: 0.86rem;
  text-align: center;
  padding-bottom: 40px;
}


/*footer-------------------------------------------
---------------------------------------------------
---------------------------------------------------*/
.footer {
  padding-right: 24px;
  padding-left: 24px;
  background-color: #E7E2D9;
  font-family: 'Garamond';
}

.footer_logo {
  text-align: center;

}

.footer_logo img {
  width: 64%;
  padding-top: 24px;
  padding-bottom: 10px;
}

.footer_content {
  text-align: center;
  padding-left: 0;
}

.footer_content ul {
  margin: 0;
  padding-left: 0px;
}

.footer_content h4 {
  font-size: 1.71rem;
  padding-bottom: 3px;
  margin: 0;
}

.footer_mail {
  font-size: 2rem;
  color: #333;

}

.footer_copy {
  text-align: center;
  padding-top: 29px;
  padding-bottom: 8px;
}

.footer_copy small {
  font-size: 1rem;
}
/*tablet---------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
------------------------------------------------------------------*/
@media screen and (max-width: 1000px) {
  .works_list{
    justify-content: center;
  }
}
/*PC---------------------------------------
-----------------------------------------------------------------
-----------------------------------------------------------------
------------------------------------------------------------------*/
@media(min-width:768px) {
  html {
    font-size: 16px;
    max-width: 100vw;
    margin: 0 auto;
    color: #333;
  }

  h2 {
    margin: 0 auto;
    max-width: 960px;
    width: 100%;
    font-size: 1.75rem;
    padding-bottom: 80px;
  }

  h3 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 5px;
    text-align: center;
    font-size: 0.8125rem;
  }


  /*nav-----------------------------
  ------------------------------------------
-------------------------------------------*/

  .main-nav {
    display: flex;
    margin: 0;
  }

  .nav_arrow {
    display: block;
    margin-right: 48px;
  }

  .openbtn1 {
    display: none;
    margin: 0;
  }


  .page_header_logo img {
    width: 18%;
    top: 32px;
  }

  .header_inner_catch img {
    position: absolute;
    width: 47%;
    left: 160px;
  }

  /*about---------------------------------
----------------------------------------------------
---------------------------------------------------*/
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }


  .section_about {
    margin-top: 80px;
    padding-top: 73px;
    padding-left: 160px;
    padding-right: 160px;
    padding-bottom: 77px;
  }

  .section_about_txt {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
  }

  .section_about p {
    max-width: 573px;
    margin: 0 auto;
  }

  .section_about h2 span {
    width: 12%;
    padding-top: 8px;
    font-size: 0.875rem;
  }

  /*more/さらに/エリアここから-------------------------------------
---------------------------------------------------
---------------------------------------------------*/

  .button {
    padding-top: 80px;
  }

  .flipleft a {
    font-size: 1.8rem;
  }

  .flipleft span {
    width: 140px;
    font-size: 0.8rem;
    padding-top: 8px;
    font-family: '游明朝';
  }

  /*works--------------------------
----------------------------------------------------
---------------------------------------------------*/

  .section_works {
    margin-top: 80px;
    padding-top: 73px;
    padding-left: 160px;
    padding-right: 160px;
    padding-bottom: 80px;
  }

  .section_works h2 span {
    width: 10%;
    padding-top: 8px;
    font-size: 0.875rem;
  }

  .works_list {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
  }

  .works_list li {
    width: 240px;
    gap: 20px;
  }

  .works_list_link span {
    font-size: 0.875rem;
    text-align: center;
    padding-bottom: 80px;
  }


  /*footer------------------------------------
----------------------------------------------------
---------------------------------------------------*/
  .footer_logo img {
    width: 38%;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .footer_content h4 {
    font-size: 3rem;
  }

  .footer_content {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
  }

  .footer_mail {
    font-size: 3.5rem;
  }

  .footer_copy {
    padding-top: 73px;
    padding-bottom: 17px;
  }

  .footer_copy small {
    font-size: 1.75rem;
  }















}